package win.demonlegion.module;

import java.io.Serializable;

/**
 * Created by MK on 2017/6/18.
 * weidu User Bean
 */
public class UserBean implements Serializable {

    private static final long serialVersionUID = -8204080920642600329L;

    private String id; // 主键

    private String phone; // 手机号

    private int vaCode; // 验证码

    private int status;// 用户状态

    private String uPassword; // 密码

    private String vaCodeAndTime; //时间和验证码组合到一起

    public String getVaCodeAndTime() {
        return vaCodeAndTime;
    }

    public void setVaCodeAndTime(String vaCodeAndTime) {
        this.vaCodeAndTime = vaCodeAndTime;
    }

    private UserDetailBean userDetail;

    private int phoneState; //通讯录状态 1开启 2关闭

    private double longitude; //经度

    private double latitude; //纬度

    public int getPhoneState() {
        return phoneState;
    }

    public void setPhoneState(int phoneState) {
        this.phoneState = phoneState;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    /**
     * @return the userDetail
     */
    public UserDetailBean getUserDetail() {
        return userDetail;
    }

    /**
     * @param userDetail
     *            the userDetail to set
     */
    public void setUserDetail(UserDetailBean userDetail) {
        this.userDetail = userDetail;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getVaCode() {
        return vaCode;
    }

    public void setVaCode(int vaCode) {
        this.vaCode = vaCode;
    }

    public UserBean(String id) {
        super();
        this.id = id;
    }

    public UserBean(String id,  String phone, String uPassword,int vaCode) {
        super();
        this.id = id;
        this.phone = phone;
        this.uPassword = uPassword;
        this.vaCode = vaCode;
    }

    public UserBean(String id, int vaCode, String phone) {
        super();
        this.id = id;
        this.vaCode = vaCode;
        this.phone = phone;
    }

    public UserBean() {
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }
}